import keyword;
if __name__ == '__main__':
    #输出Python中有哪些关键字
    print(keyword.kwlist);